package com.panfeng.xcloud.boss.provider.member.web.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
@ApiModel(value = "通过身份证号查询身份认证状态请求")
public class IdentityAuthStatusExtReqVO implements Serializable {

    @ApiModelProperty("身份证号")
    @Pattern(regexp = "(^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$)|(^[1-9]\\d{5}\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}$)" ,message = "您输入的身份证号格式不正确")
    private String idNumber;

}
